package com.lagou.study.service.impl;

import com.lagou.study.service.TpService;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService(group = "dubbo")
public class TpServiceImpl implements TpService {
    public void methodA() {
        try {
            Thread.sleep((long) (Math.random() * 100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    public void methodB() {
        try {
            Thread.sleep((long) (Math.random() * 100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    public void methodC() {
        try {
            Thread.sleep((long) (Math.random() * 100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
